package com.share.device.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data

public class StationDto {
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键")
    private Integer id;
    //主键
    @Schema(description = "站点名称")
    private String name;
    //站点名称
    @Schema(description = "站点图片地址")
    private String imageUrl;
    //站点图片地址
    @Schema(description = "营业时间")
    private String businessHours;
    //营业时间
    @Schema(description = "经度")
    private BigDecimal longitude;
    //经度
    @Schema(description = "纬度")
    private BigDecimal latitude;
    //纬度
    @Schema(description = "省编码")
    private String provinceCode;
    //
    private String cityCode;
    //
    private String districtCode;
    //
    @Schema(description = "详细地址")
    private String address;
    //详细地址
    @Schema(description = "完整地址")
    private String fullAddress;
    //完整地址
    @Schema(description = "负责人名称")
    private String headName;
    //站点负责人名称
    @Schema(description = "负责人电话")
    private String headPhone;
    //站点负责人电话
    @Schema(description = "柜机id")
    private Integer cabinetId;
    //柜机id
    @Schema(description = "费用规则id")
    private Integer feeRuleId;
    //费用规则id
    @Schema(description = "站点状态（1正常 0停用）")
    private String status;
    //状态（1正常 0停用）
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //创建时间
    @Schema(description = "更新者")
    private String createBy;
    //创建者
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    //更新时间
    @Schema(description = "更新者")
    private String updateBy;
    //更新者
    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private String delFlag;
    //删除标志（0代表存在 2代表删除）
    @Schema(description = "备注")
    private String remark;
    //备注
    private Integer pageNum=1;
    private Integer pageSize=10;
}
